package com.ruoyi.common.enums.session;

public enum ConversationType {

    SINGLE(1, "一对一"), GROUP(2, "群聊");

    private final Integer code;
    private final String info;

    ConversationType(Integer code, String info){
        this.code = code;
        this.info = info;
    }

    public Integer getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }
}

